package cn.iocoder.yudao.module.erp.controller.admin.business.group.goodscategory.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.Getter;

import javax.validation.constraints.NotEmpty;

/**
 * @author ttsn
 * @Description
 * @date 2024/01/07  18:20
 **/
@Schema(description = "管理后台 - 物品类目树 Resp VO")
@Getter
@Data
public class GoodsCategoryTreeRespVO {
    @Schema(description = "id")
    private Long id;

    @Schema(description = "类目名称")
    @NotEmpty(message = "类目名称不能为空")
    private String name;

    @Schema(description = "父类名称")
    private Long parentId;


}

